package com.ruoyi.cbfa.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.cbfa.mapper.AAddressListVoMapper;
import com.ruoyi.cbfa.domain.AAddressListVo;
import com.ruoyi.cbfa.service.IAAddressListVoService;

/**
 * 参保档案Service业务层处理
 * 
 * @author lgr
 * @date 2025-06-03
 */
@Service
public class AAddressListVoServiceImpl implements IAAddressListVoService
{
    @Autowired
    private AAddressListVoMapper AAddressListVoMapper;

    /**
     * 查询参保档案
     * 
     * @param id 参保档案主键
     * @return 参保档案
     */
    @Override
    public AAddressListVo selectAddressListVoById(Long id)
    {
        return AAddressListVoMapper.selectAddressListVoById(id);
    }

    /**
     * 查询参保档案列表
     * 
     * @param AAddressListVo 参保档案
     * @return 参保档案
     */
    @Override
    public List<AAddressListVo> selectAddressListVoList(AAddressListVo AAddressListVo)
    {
        return AAddressListVoMapper.selectAddressListVoList(AAddressListVo);
    }

    /**
     * 新增参保档案
     * 
     * @param AAddressListVo 参保档案
     * @return 结果
     */
    @Override
    public int insertAddressListVo(AAddressListVo AAddressListVo)
    {
        return AAddressListVoMapper.insertAddressListVo(AAddressListVo);
    }

    /**
     * 修改参保档案
     * 
     * @param AAddressListVo 参保档案
     * @return 结果
     */
    @Override
    public int updateAddressListVo(AAddressListVo AAddressListVo)
    {
        return AAddressListVoMapper.updateAddressListVo(AAddressListVo);
    }

    /**
     * 批量删除参保档案
     * 
     * @param ids 需要删除的参保档案主键
     * @return 结果
     */
    @Override
    public int deleteAddressListVoByIds(Long[] ids)
    {
        return AAddressListVoMapper.deleteAddressListVoByIds(ids);
    }

    /**
     * 删除参保档案信息
     * 
     * @param id 参保档案主键
     * @return 结果
     */
    @Override
    public int deleteAddressListVoById(Long id)
    {
        return AAddressListVoMapper.deleteAddressListVoById(id);
    }
}
